﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Algorithm
{
    class CWebPageConcreteFactory_AffinBank : CWebPageAbstractFactory
    {
        private CJumperConcreteProduct_AffinBank m_jumperConcreteProduct_AffinBank = null;
        private CParserConcreteProduct_AffinBank m_parserConcreteProduct_AffinBank = null;

        public CWebPageConcreteFactory_AffinBank()
        {
            m_jumperConcreteProduct_AffinBank = new CJumperConcreteProduct_AffinBank();
            m_parserConcreteProduct_AffinBank =  new CParserConcreteProduct_AffinBank();

        }

        public override CJumperAbstractProduct GetJumpingStyleConcreteProduct()
        {
            return m_jumperConcreteProduct_AffinBank;
        }

        public override CParserAbstractProduct GetParserConcreteProduct()
        {
            return m_parserConcreteProduct_AffinBank;
        }
    }
}
